/* stylelint-disable docusaurus/copyright-header */
/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

.navbar__title {
  font-size: 20px;
}

.navbar__brand img {
  height: 65px;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

html[data-theme='dark'] .footer__title {
  color: #FFFFFF;
}
.footer__title {
  color: #000939;
  font-size: 22px;
}
.footer__link-item {
  font-size: 16px;
}

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #3578e5;
  --ifm-color-primary-dark: #1d68e1;
  --ifm-color-primary-darker: #1b62d4;
  --ifm-color-primary-darkest: #1751af;
  --ifm-color-primary-light: #4e89e8;
  --ifm-color-primary-lighter: #5a91ea;
  --ifm-color-primary-lightest: #80aaef;

}

.docusaurus-highlight-code-line {
  background-color: rgb(72, 77, 91);
  display: block;
  margin: 0 calc(-1 * var(--ifm-pre-padding));
  padding: 0 var(--ifm-pre-padding);
}

/* discord */
.header-discord-link:hover {
  opacity: 0.6;
}

.header-discord-link:before {
  content: '';
  width: 28px;
  height: 28px;
  display: flex;
  background: url('');
  background-size: cover;
}

html[data-theme='dark'] .header-discord-link:before {
  filter: invert(100%);
}

/* twitter */
.header-twitter-link:hover {
  opacity: 0.6;
}

.header-twitter-link:before {
  content: '';
  width: 28px;
  height: 28px;
  display: flex;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z'/%3E%3C/svg%3E")
  no-repeat;
}

html[data-theme='dark'] .header-twitter-link:before {
  content: '';
  width: 28px;
  height: 28px;
  display: flex;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z'/%3E%3C/svg%3E")
  no-repeat;
}

/* github */
.header-github-link:hover {
  opacity: 0.6;
}

.header-github-link:before {
  content: '';
  width: 28px;
  height: 28px;
  display: flex;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
  no-repeat;
}

html[data-theme='dark'] .header-github-link:before {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
  no-repeat;
}

/* newsletter */
.header-newsletter-link:hover {
  opacity: 0.6;
}

.header-newsletter-link:before {
  content: '';
  width: 28px;
  height: 28px;
  display: flex;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E")
  no-repeat;
}

html[data-theme='dark'] .header-newsletter-link:before {
  content: '';
  width: 28px;
  height: 28px;
  display: flex;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E")
  no-repeat;
}

@media only screen
and (max-width: 525px) {
  .menu__link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .header-github-link:after {
    margin-left: 20px;
    content: "Github ";
  }
  .header-twitter-link:after {
    margin-left: 20px;
    content: "Twitter ";
  }
  .header-discord-link:after {
    margin-left: 20px;
    content: "Discord ";
  }
}

/* Make navbar looks friendly on small devices. */
@media only screen
and (max-width: 400px) {
  .nav_src-pages-index-module .linkItem_src-pages-index-module {
    padding-right: 0!important;
  }
  .nav_src-pages-index-module {
    width: 100%!important;
  }
  .socialLinks_src-pages-index-module {
    display: none !important;
  }
}

/* Make sql syntax highlight a bit better */
span.token.keyword {
  color: rgb(199, 146, 234);
}

span.token.punctuation {
  color: rgb(191, 199, 213)!important;
}

div.language-hcl * span.token.property {
  color: #9CDCFE;
}

:root {
  --site-primary-hue-saturation: 217, 73%, 78%;
  --ifm-footer-title-color: white;
}

div[class^='announcementBar_'] {
  --site-announcement-bar-stripe-color1: hsl(
          var(--site-primary-hue-saturation),
          30%
  );
  --site-announcement-bar-stripe-color2: hsl(
          var(--site-primary-hue-saturation),
          55%
  );
  background: repeating-linear-gradient(
          35deg,
          var(--site-announcement-bar-stripe-color1),
          var(--site-announcement-bar-stripe-color1) 20px,
          var(--site-announcement-bar-stripe-color2) 10px,
          var(--site-announcement-bar-stripe-color2) 40px
  );
  font-weight: bold;
}

.tabs-container p {
  margin-bottom: 10px;
}

.code-block-error-message {
  background-color: #ff6f8780;
  display: block;
  margin: 0 calc(-1 * var(--ifm-pre-padding));
  padding: 0 var(--ifm-pre-padding);
  border-left: 3px solid #ff6f87a0;
}
.code-block-error-message span {
  color: rgb(191, 199, 213)!important;
}

.code-block-info-line {
  background-color: rgb(193 230 140 / 25%);
  display: block;
  margin: 0 calc(-1 * var(--ifm-pre-padding));
  padding: 0 var(--ifm-pre-padding);
  border-left: 3px solid rgb(193 230 140 / 80%);
}
.code-block-info-line span {
  color: rgb(191, 199, 213)!important;
}

/* Full-width checks table. */
.docs-doc-id-lint\/analyzers table {
  display:table;
  width:100%;
}

.join-discord {
  background-color:#5C4AEC;
  border-radius:6px;
  border:1px solid #5D4BED;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:Arial;
  font-size:17px;
  padding:16px 31px;
  text-decoration:none;
  margin: 1em 0;
}

.join-discord svg {
  margin-bottom: -6px;
  margin-left: -6px;
}

.join-discord span {
  padding-left: 6px;
}

.join-discord:hover  {
  color: white;
  text-decoration: none;
}
